import 'package:json_annotation/json_annotation.dart';

part 'comments.g.dart';

@JsonSerializable()
class comments{
  comments({this.commentid,this.goodsid,this.parentid,this.comment,this.username,this.commentdate});
  int commentid;
  int goodsid;
  int parentid;
  String comment;
  String username;
  String commentdate;
  factory comments.fromJson(Map<String, dynamic> json) => _$commentsFromJson(json);
  Map<String,dynamic> toJson() => _$commentsToJson(this);
}